<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"
                >
    <xsl:output method="html"/>
    <xsl:template match="/">
        <a id="gallery-path">
                    <xsl:attribute name="href">
                        <xsl:value-of select="root/path"/>
                    </xsl:attribute>
        </a>
        <ul>
        <xsl:for-each select="root//Album">
            <li>
                <a>
                    <xsl:attribute name="href">
                        <xsl:value-of select="@href"/>
                    </xsl:attribute>
                    <xsl:attribute name="rel">f</xsl:attribute>
                    <img width="72" height="72" alt="">
                        <xsl:attribute name="src">
                            <xsl:value-of select="@thumb"/>
                        </xsl:attribute>
                    </img>
                </a>
            </li>
        </xsl:for-each>
        <xsl:for-each select="root//Picture">
            <li>
                <a>
                    <xsl:attribute name="href">
                        <xsl:value-of select="@href"/>
                    </xsl:attribute>
                    <img width="72" height="72" alt="">
                        <xsl:attribute name="src">
                            <xsl:value-of select="@thumb"/>
                        </xsl:attribute>
                    </img>
                </a>
            </li>
        </xsl:for-each>
        </ul>
    </xsl:template>
</xsl:stylesheet>
